import { TableColumnProps } from '#/antd'
import {
  Author,
  AuthWorkItem,
  QueryAuthorReq,
} from '@/api/audit/auth/model/authorModel'

export type SearchAuthorForm = Omit<QueryAuthorReq, 'type' | 'current' | 'size'>

export interface AuditDialogState {
  visiable: boolean
  authorDetail: Author
  isDisable: boolean
}

export interface AuthMaterialListDialogState {
  visiable: boolean
  tableData: AuthWorkItem[]
  tableColumns: TableColumnProps<AuthWorkItem>[]
}
